package software.literature.model.bean;

import java.lang.reflect.Field;

import software.literature.config.ConfigureManager;

public class BBGRecords {
	private int id = -1;
	private String data = "";
	private String url = "";
	private int treeId = -1;
	private int type;
	private String noteText = "";
	private String noteUrl = "";
	static {
		// this is according to NewBBG.types
	}


	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		if (url != null) {
			this.url = url;
		} else {
			url = "";
		}
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}


	public String getNoteText() {
		return noteText;
	}

	public void setNoteText(String noteText) {
		if (noteText != null) {
			this.noteText = noteText;
		} else {
			noteText = "";
		}
	}

	public String getNoteUrl() {
		return noteUrl;
	}

	public void setNoteUrl(String noteUrl) {
		if (noteUrl != null) {
			this.noteUrl = noteUrl;
		} else {
			noteUrl = "";
		}
	}
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getTreeId() {
		return treeId;
	}

	public void setTreeId(int treeId) {
		this.treeId = treeId;
	}
}
